package com.bdqn.crm.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;


@Configuration
public class InterceptorConfig implements WebMvcConfigurer {
    private String[] excludePathPatterns;

//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        String[] pathPatters = {"/**"};
//        String[] excludePathPatterns = {"/login", "/static/**","/regist"};
//        registry.addInterceptor(new AuthorizationInterceptor()).addPathPatterns(pathPatters).addPathPatterns(excludePathPatterns);
//    }
}